﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Traceability.Domain.BreedDomain;

namespace Traceability.Domain.Service.BreedService
{
    public interface IBreedService 
    {
        /// <summary>
        /// 添加养殖信息
        /// </summary>
        /// <param name="breed">养殖实体</param>
        /// <returns>返回受影响的行数</returns>
        public Task<int> AddBreed(Breed breed);

        public Task<List<Breed>> GetBreedList(int shoppingId);

        public Task<Breed> GetBreedModel(int breedId);

        public Task<int> UpdateBreed(Breed breed);
    }
}
